package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jiayen
 * @since 2021-12-10 09:25:13
 */
@ApiModel(value = "p_log_version对象", description = "p_log_version")
@Data
@TableName("p_log_version")
public class PLogVersion implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "类型 0-组织，1-人员")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "logId值")
    @TableField("logId")
    private String logId;

    @ApiModelProperty(value = "是否已是历史版本 0-是历史版本，1-是新添加的")
    @TableField("is_history_version")
    private Integer isHistoryVersion;

    @ApiModelProperty(value = "版本号")
    @TableField("version")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATED_TIME")
    private Date createdTime;

    @ApiModelProperty(value = "最大logId")
    @TableField("max_log_id")
    private Integer maxLogId;

    @ApiModelProperty(value = "是否可以继续获取")
    @TableField("continue_flag")
    private Boolean continueFlag;

}
